<%@ Page Language="C#" Inherits="Castle.MonoRail.Views.AspView.ViewAtDesignTime<IRightPanel>" %>
<%@ Import namespace="KenEgozi.Com.Domain.Aggregates.Common"%>
<%@ Import namespace="KenEgozi.Com.Domain.Projections"%>
<%@ Import namespace="KenEgozi.Com.Weblog.Interfaces"%>
<div class="Block">
<h2>Subscribe</h2>
<p>
	<a href="http://feeds.feedburner.com/kenegozi">
		<img src='http://feeds.feedburner.com/<%="~"%>fc/kenegozi?bg=000033&amp;fg=00FF00&amp;anim=1' height="26" width="88" style="border:0" alt="" />
	</a>
</p>
</div>
<div class="Block">
<h2>Statistics</h2>
<div id="Stats">
	<h5>
		<label>Posts count: </label>
		<span><%=view.Stats.PostsCount %></span>
	</h5>
	<h5>
		<label>Comments count: </label>
		<span><%=view.Stats.CommentsCount %></span>
	</h5>
</div>
</div>
<div class="Block">
<h2>Tags</h2>
<p id="TagCloud">
	<%foreach(TagCloudEntry entry in view.Tags) { %>
		<h5><a href="~/Tag/<%=entry.UrlFriendlyName%>.aspx"><%=entry.TagName%>(<%=entry.PostCount%>)</a></h5>
	<%} %>
</p>
</div>
<div class="Block">
<h2>Archive</h2>
<p>
	<%foreach(ArchiveEntry entry in view.Archive) { %>
	<%DateTime entryDate = new DateTime(entry.Year, entry.Month, 1); %>
		<h5><a href="~/<%=entryDate.ToString("yyyy/MM")%>/List.aspx">
			<%=string.Format("{0:MMM, yyyy} ({1})", entryDate, entry.PostCount) %>
		</a>
		</h5>
	<% } %>
</p>
</div>
<div class="Block">
<h2>Blogroll</h2>
<p id="Blogroll">
	<%foreach (BlogrollEntry entry in view.Blogroll) { %>
		<h5><a href="<%=entry.Href%>"><%=entry.Title%></a></h5>
	<%} %>
	<div class="Break"></div>
</p>
</div>
<div class="Block">
<h2>Related Books</h2>
<p>
	<iframe src="http://rcm.amazon.com/e/cm?t=kenegoziswebl-20&o=1&p=9&l=st1&mode=books&search=.NET&fc1=&lt1=_blank&lc1=&bg1=&f=ifr" marginwidth="0" marginheight="0" width="180" height="150" border="0" frameborder="0" style="border:none;" scrolling="no"></iframe>	
</p>
</div>
<div class="Block">
<h2>Related Jobs</h2>
<div class="HiddenNetworks">
	<script type="text/javascript" src="http://pubs.hiddennetwork.com/?PubId=1074&Type=Skyscraper"></script>
	<div class="Break"></div>
</div>
</div>
<div class="Block">
<h2>Related Ads</h2>
<p>
	<script type="text/javascript"><!--
	google_ad_client = "pub-3318082413982161";
	google_ad_width = 180;
	google_ad_height = 150;
	google_ad_format = "180x150_as";
	google_ad_type = "text";
	google_ad_channel = "";
	google_color_border = "336699";
	google_color_bg = "FFFFFF";
	google_color_link = "0000FF";
	google_color_text = "000000";
	google_color_url = "008000";
	//--></script>
	<script type="text/javascript"
	  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
	</script>
</p>
</div>